<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
  <div id="app">
      <h1>{{message}}</h1>
      <!-- v-pre 不会去data里面寻找对应的变量解析,而就是显示 `{{message}}`-->
      <h1 v-pre>{{message}}</h1>
    </div>

  <script src="../js/vue.js"></script>
  <script>
     // 1.创建Vue的实例对象
     const app = Vue.createApp({
      data(){
        return {
          message: '你好Vue3!'
        }
      }
     }).mount('#app');
  </script>
</body>
</html>